home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Development Libraries / SGI IRIX 6.2 Development Libraries.iso / dist / gl_dev.idb / usr / include / gl / vect.h.z / vect.h
Encoding:
C/C++ Source or Header  |  1996-03-15  |  258 b   |  17 lines

  1. #ifndef    __GL_VECT_H__
  2. #define    __GL_VECT_H__
  3.  
  4. #include <math.h>
  5.  
  6. typedef struct vect {
  7.     float x, y, z, w;
  8. } vect;
  9.  
  10. float vlength();
  11. float vdot();
  12. vect *vnew();
  13. vect *vclone();
  14.  
  15. #define VECTDEF        /* for backwards compatibility */
  16. #endif    /* !__GL_VECT_H__ */
  17.